package cate.game.opponent.qualify;

import cate.common.table.d.GDFight;
import cate.game.GameBody;
import cate.game.play.part.FightSide;
import easy.java.practice.errorcode.EcResult;
import lombok.extern.slf4j.Slf4j;

/** 段位赛对手池 */
@Slf4j
public class QualifyOpponentPool {

    private GameBody game;

    public void setup(GameBody game) {
        this.game = game;
    }

    public void xxx() {
        String insCode = "快照=8&阵法=2&阵容=2:101200:40:0#4:401100:40:0#5:400700:40:0#6:100800:40:0#7:101100:40:0#9:100700:40:0&等级=26&圣器=1&光环=0";
        EcResult<FightSide> fsr = this.game.fight.side.createFightSideByCode(GDFight.Team.B, insCode);
        log.info("fsr={}", fsr);
    }
}
